#include"../include/grid_element.h"
GridElement::GridElement(const GridElement& elemet)
{
	parent_ = elemet.parent_;
	nodeIndexVec_ = elemet.nodeIndexVec_;
	faceIndexVec_ = elemet.faceIndexVec_;
}
vector< Point*> GridElement::GetNodeCoord() 
{
	vector< Point*>coord_vec(nodeIndexVec_.size());
	for (size_t iCoord = 0; iCoord < coord_vec.size(); ++iCoord)
	{
		coord_vec[iCoord] = this->parent_->GetNodeCoord(iCoord);
	}
	return coord_vec;
}